package org.jrtaudio;

public class StreamOptions {
	static final int RTAUDIO_NONINTERLEAVED = 0x1;    // Use non-interleaved buffers (default = interleaved).
	static final int RTAUDIO_MINIMIZE_LATENCY = 0x2;  // Attempt to set stream parameters for lowest possible latency.
	static final int RTAUDIO_HOG_DEVICE = 0x4;        // Attempt grab device and prevent use by others.
	static final int RTAUDIO_SCHEDULE_REALTIME = 0x8; // Try to select realtime scheduling for callback thread.

	public int flags = RTAUDIO_NONINTERLEAVED | RTAUDIO_MINIMIZE_LATENCY | RTAUDIO_SCHEDULE_REALTIME | RTAUDIO_HOG_DEVICE;      /*!< A bit-mask of stream flags (RTAUDIO_NONINTERLEAVED, RTAUDIO_MINIMIZE_LATENCY, RTAUDIO_HOG_DEVICE). */
	public int numberOfBuffers = 0;  /*!< Number of stream buffers. */
	public String streamName;        /*!< A stream name (currently used only in Jack). */
	public int priority = 0;                  /*!< Scheduling priority of callback thread (only used with flag RTAUDIO_SCHEDULE_REALTIME). */
	public StreamOptions(){}	
}
